package com.health.db.dao.sm.impl;

import java.util.List;

import com.health.db.dao.sm.IReqLogDao;
import com.health.db.mapper.ReqLogMapper;
import com.health.db.model.ReqLog;

public class ReqLogDaoImpl implements IReqLogDao {

	ReqLogMapper reqLogMapper;
	
	public ReqLogMapper getReqLogMapper() {
		return reqLogMapper;
	}

	public void setReqLogMapper(ReqLogMapper reqLogMapper) {
		this.reqLogMapper = reqLogMapper;
	}

	@Override
	public int deleteByPrimaryKey(Long reqLogId) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int insert(ReqLog record) {
		// TODO Auto-generated method stub
		return reqLogMapper.insert(record);
	}

	@Override
	public ReqLog selectByPrimaryKey(Long reqLogId) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int updateByPrimaryKey(ReqLog record) {
		// TODO Auto-generated method stub
		return reqLogMapper.updateByPrimaryKey(record);
	}

	@Override
	public void insertBatch(List<ReqLog> record) {
		// TODO Auto-generated method stub
		reqLogMapper.insertBatch(record);
	}

	@Override
	public int updateState(ReqLog record) {
		// TODO Auto-generated method stub
		return reqLogMapper.updateState(record);
	}

	@Override
	public List<ReqLog> selectByCondition(ReqLog reqLogExt) {
		// TODO Auto-generated method stub
		return reqLogMapper.selectByCondition(reqLogExt);
	}

}
